package com.mobilepoc.jersey.model;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class AccountInformation {

    private String arrangementId;
    private String customerName;
    private double interestRate;
    private double availableAmount;
    private double balance;
    private double credit;
    private AccountType type;

    public AccountInformation() {
        // Makes ws.rs happy
    }

    public AccountInformation(String arrangementId, String customerName, double interestRate, double availableAmount,
            double balance, double credit, AccountType type) {
        this.arrangementId = arrangementId;
        this.customerName = customerName;
        this.interestRate = interestRate;
        this.availableAmount = availableAmount;
        this.balance = balance;
        this.credit = credit;
        this.type = type;
    }

    public String getArrangementId() {
        return arrangementId;
    }

    public void setArrangementId(String arrangementId) {
        this.arrangementId = arrangementId;
    }

    public double getInterestRate() {
        return interestRate;
    }

    public void setInterestRate(double interestRate) {
        this.interestRate = interestRate;
    }

    public double getAvailableAmount() {
        return availableAmount;
    }

    public void setAvailableAmount(double availableAmount) {
        this.availableAmount = availableAmount;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public double getCredit() {
        return credit;
    }

    public void setCredit(double credit) {
        this.credit = credit;
    }

    public AccountType getType() {
        return type;
    }

    public void setType(AccountType type) {
        this.type = type;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }
}
